package com.ruoyi.community.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 健康填报对象 healthy_report
 * 
 * @author lj
 * @date 2022-03-16
 */
@ApiModel(value = "健康填报")
public class HealthyReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID")
    private Long id;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 姓名 */
    @ApiModelProperty(value = "姓名")
    @Excel(name = "姓名")
    private String userName;

    /** 体温 */
    @ApiModelProperty(value = "体温")
    @Excel(name = "体温")
    private String bodyTemperature;

    /** 健康码颜色 */
    @ApiModelProperty(value = "健康码颜色")
    @Excel(name = "健康码颜色")
    private Integer healthCodeColor;

    /** 健康状态 */
    @ApiModelProperty(value = "健康状态")
    @Excel(name = "健康状态")
    private Integer healthStatus;

    /** 手机号 */
    @ApiModelProperty(value = "手机号")
    @Excel(name = "手机号")
    private String phonenumber;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    private Integer delFlag;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setBodyTemperature(String bodyTemperature) 
    {
        this.bodyTemperature = bodyTemperature;
    }

    public String getBodyTemperature() 
    {
        return bodyTemperature;
    }
    public void setHealthCodeColor(Integer healthCodeColor) 
    {
        this.healthCodeColor = healthCodeColor;
    }

    public Integer getHealthCodeColor() 
    {
        return healthCodeColor;
    }
    public void setHealthStatus(Integer healthStatus) 
    {
        this.healthStatus = healthStatus;
    }

    public Integer getHealthStatus() 
    {
        return healthStatus;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("bodyTemperature", getBodyTemperature())
            .append("healthCodeColor", getHealthCodeColor())
            .append("healthStatus", getHealthStatus())
            .append("phonenumber", getPhonenumber())
            .append("delFlag", getDelFlag())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
